<form id="dictionaryForm" method="post">
<input type="hidden" name="id"/>
<input type="hidden" name="parentId" id="parentId"/>
<input type="hidden" name="level" id="level"/>
	<table class="formTable">
	    <tr>
			<td class="table_left">字典编码：</td>
			<td colspan="3">
				<input name="dictCode" data-options="width: 200,prompt:'字典编码'" type="text" class="easyui-textbox"/> 
			</td>
	    </tr>
		<tr>
			<td class="table_left"><font color="red">*</font>字典名称：</td>
			<td>
				<input name="dictName" data-options="required:true,width: 200,prompt:'字典名称'" type="text" class="easyui-textbox"/> 
			</td>
			<td class="table_left">字典值：</td>
			<td><input name="dictValue" type="text" id="dictValue" class="easyui-textbox" data-options="width: 200,prompt:'字典值'" readonly="readonly" /></td>
		</tr>
<tr>
			<td class="table_left">是否可见：</td>
			<td>
			   <select name="isvisible" class="easyui-combobox" style="width:200px;">
			        <option value="1" selected>是</option>
			        <option value="0">否</option>
			  </select>
			</td>
			<td class="table_left">是否可用：</td>
			<td>
			   <select name="isenable" class="easyui-combobox" style="width:200px;">
			        <option value="1" selected>是</option>
			        <option value="0">否</option>
			  </select>
			</td>
		</tr>
		<tr>
			<td class="table_left">是否可新增：</td>
			<td>
			   <select name="isaddable" class="easyui-combobox" style="width:200px;">
			        <option value="1" selected>是</option>
			        <option value="0">否</option>
			  </select>
			</td>
			<td class="table_left">是否系统预置：</td>
			<td>
			   <select name="isinit" class="easyui-combobox" style="width:200px;">
			        <option value="1" selected>是</option>
			        <option value="0">否</option>
			  </select>
			</td>
		</tr>
		<tr>
			<td class="table_left">排序：</td>
			<td colspan="3"><input name="sort" id="sort" data-options="width: 200"  readonly="readonly"  class="easyui-textbox"/></td>
		</tr>
		<tr>
			<td class="table_left">描述：</td>
			<td colspan="3">
				<input class="easyui-textbox" name="remark" data-options="multiline:true,prompt:'描述'" value="" style="width:250px;height:80px">
			</td>
		</tr>
	</table>
</form>
<script type="text/javascript">
JSmile.KEasy.initForm("#dictionaryForm","/sys_dictionary/update"); 
$('#parentId1').combotree({
	method: 'get',
	editable:false,
	lines:true,
	width:200,
    url: JSmile.baseUrl+'/sys_dictionary/findAll?level=2',
    loadFilter:function(data,parent){
    	return JSmile.convert(data,{textField:"dictName"});
    }
});
</script>